//
//  HR_BLELinkView.h
//  Pods
//
//  Created by xiaoming on 17/07/26.
//
//

#import "HR_BaseView.h"
#import <CoreBluetooth/CoreBluetooth.h>

@interface HR_BLELinkView : HR_BaseView

@property (strong, nonatomic) NSArray<CBPeripheral *> *dataSource;

/**
 刷新
 */
- (void)reloadData;

/**
 菊花转动
 
 @param peripheral 蓝牙外设
 */
- (void)indicatorAnimating:(BOOL)animating peripheral:(CBPeripheral *)peripheral;

/**
 取消
 */
@property (copy, nonatomic) void(^cancelBlock)();

/**
 选中外设
 */
@property (copy, nonatomic) void(^selectPrepheralBlock)(NSUUID *peripheralIdentifier);

@end
